get text from a jtextfield

51

get text from a jtextfield -

JTextField yourInpuFieldt = new JTextField(16);
yourInputField.setText("put your text here");  
String x = yourInputField.getText();

Comments

Submit
0 Comments